package com.marvels.product.param.service;

import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.product.param.dto.McptLateFeeDTO;
import com.marvels.product.param.dto.McptProduct;

public interface LateFeeService {

	public PageInfo<McptLateFeeDTO> getPageInfoByParam(Map<String, Object> param) throws MarvelsBusinessException;

	public McptLateFeeDTO getEntityByPrimaryKey(Long lateFeeId) throws MarvelsBusinessException;

	public int insert(McptLateFeeDTO dto) throws MarvelsBusinessException;

	public int updateByPrimaryKey(McptLateFeeDTO dto) throws MarvelsBusinessException;

	public int updateStatus(McptLateFeeDTO dto) throws MarvelsBusinessException;
	
	/**根据小类code查询咨询费
	 * @author 娄凯琦
	 * @date 2018年5月8日  
	 * @param dto
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public McptLateFeeDTO getLateFeeByLateFeeCode(McptProduct dto) throws MarvelsBusinessException;
	/**
	 * 根据主键删除记录
	 * @param dto
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public int delete(McptLateFeeDTO dto) throws MarvelsBusinessException;
}
